package com.zeny.edu.eduservice.mapper;

import com.zeny.edu.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeny.edu.eduservice.entity.dto.CourseAllInfoDto;
import com.zeny.edu.eduservice.entity.dto.CourseAndTeacherAllInfo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author zeny
 * @since 2020-03-02
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    CourseAllInfoDto getAllCourseInfoById(String courseId);

    //前台根据课程ID查询课程信息等
    CourseAndTeacherAllInfo getCourseAndTeacherAllInfo(String courseId);

}
